package nj.yb.entity.request;

import com.alibaba.fastjson.annotation.JSONField;

public class NotReadMessagesRequest {
    @JSONField(ordinal = 1)
    private final String type = RequestType.GetNotRead;
    @JSONField(ordinal = 2)
    private String username;
    @JSONField(ordinal = 3)
    private String targetUser;

    public NotReadMessagesRequest(String username, String targetUser) {
        this.username = username;
        this.targetUser = targetUser;
    }

    public NotReadMessagesRequest() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTargetUser() {
        return targetUser;
    }

    public void setTargetUser(String targetUser) {
        this.targetUser = targetUser;
    }

    public String getType() {
        return type;
    }
}
